<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:mmu="http://java.sun.com/jsf/composite/mmu">
<h:head>
	<title>Treffer Seite</title>
	<h:outputStylesheet name="css/styles.css" />
</h:head>
<h:body>
	<h1 class="title">Treffer Seite</h1>
	<mmu:breadcrumb value="#{sucheBean}" />
	<p>Suche-Text: #{sucheBean.suchText}</p>
	<p>
		selectedRow:
		<h:outputText value="#{sucheBean.selectedTreffer}" />
		rowIndex:
		<h:outputText value="#{sucheBean.treffer.rowIndex}" />
	</p>
	<h:dataTable value="#{sucheBean.treffer}" var="treffer"
		rowClasses="clickable">
		<h:column>
			<h:link value="#{sucheBean.treffer.rowIndex}" outcome="details">
				<f:param name="id" value="#{sucheBean.treffer.rowIndex}" />
			</h:link>
		</h:column>
		<h:column>
			<h:link value="#{treffer}" outcome="details">
				<f:param name="id" value="#{sucheBean.treffer.rowIndex}" />
			</h:link>
		</h:column>
	</h:dataTable>
	<p:dataTable value="#{sucheBean.treffer}" var="treffer"
		rowStyleClass="clickable">
		<p:column>
			<h:link value="#{sucheBean.treffer.rowIndex}" outcome="details">
				<f:param name="id" value="#{sucheBean.treffer.rowIndex}" />
			</h:link>
		</p:column>
		<p:column>
			<h:link value="#{treffer}" outcome="details">
				<f:param name="id" value="#{sucheBean.treffer.rowIndex}" />
			</h:link>
		</p:column>
	</p:dataTable>
</h:body>
</html>